<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../vuejs/vue.js"></script>
    <template id="my-app">
        <div v-bind="info">{{counter}}</div>
    </template>
    <script>
        Vue.createApp({
            template:`#my-app`,
            data(){
                return{
                    counter:0,
                    info:{
                        name:'zhang',
                        age:18,
                        sex:'women'
                    }
                }
            }

        }).mount('#app')
    </script>
</body>
</html>